<%@ page language="java" import="com.sql.*,com.database.*" pageEncoding="gb2312"%>

  <%
  System.out.println("aa");
int id = Integer.parseInt(request.getParameter("id"));

DataBase base=new DataBase();
ReportFormSql report=new ReportFormSql();
String sql="delete from CQMS_WinAddr_Config where ID="+id;//report.delete("CQMS_WinAddr_Config",id);
System.out.println("delete:"+sql);
try{
	base.executeUpdate(sql);
	response.sendRedirect("EquipAddrConfig.jsp");
}
catch(Exception ex){
	System.out.println(ex.getMessage());
}
finally{
	base.closeStmt();
	base.closeConn();
}
   %>
